//
//  DDBossTagCell.m
//  DingDongZP
//
//  Created by Ray on 16/4/22.
//  Copyright © 2016年 iyhjiang.com. All rights reserved.
//

#import "DDBossTagCell.h"

@implementation DDBossTagCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.layer.masksToBounds = YES;
    self.layer.cornerRadius = 5.0;
    self.layer.borderWidth = 1.0;
    self.layer.borderColor = [UIColor lightGrayColor].CGColor;
    self.nameLab.textColor = COLOR_FONT_DARK_GRAY;
}

- (void)setSelected:(BOOL)selected
{
    [super setSelected:selected];
    if (selected) {
//        self.layer.borderColor = COLOR_FONT_RED.CGColor;
        
        self.backgroundColor = [UIColor whiteColor];
        self.nameLab.textColor = COLOR_FONT_LIGHT_GREEN;
    }
    else {
        self.backgroundColor = [UIColor whiteColor];
        self.nameLab.textColor = COLOR_FONT_DARK_GRAY;
        self.layer.borderColor = [UIColor lightGrayColor].CGColor;
    }
}

@end
